all:ChatServer ChatClient

ChatServer:ChatServer.cpp
	g++ $^ -o $@ -g -lpthread -std=c++11 -ljsoncpp -I /usr/include/jsoncpp

ChatClient:ChatClient.cpp
	g++ $^ -o $@ -g -lpthread -std=c++11 -ljsoncpp -I /usr/include/jsoncpp -lncurses
.PHONY:clean 
clean:
	rm ChatServer ChatClient
